package com.youlian.cloud.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author liuhx
 * @create 2019/07/30 10:56
 * @email liuhx@elab-plus.com
 **/
@SpringBootApplication
@EnableZuulProxy
@EnableEurekaClient
/** 开启服务发现 **/
@EnableDiscoveryClient
@EnableAutoConfiguration
public class GateWayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GateWayApplication.class, args);
    }
}
